package com.ggb.reactive.domain.vo

import io.swagger.v3.oas.annotations.media.Schema
import lombok.Data
import lombok.NoArgsConstructor


@Data
@Schema(title = "订单统计 OrderReportVO")
@NoArgsConstructor
data class OrderReportVO(
    @Schema(description = "日期，以逗号分隔，例如：2022-10-01,2022-10-02,2022-10-03")
    var dateList: String? = null,
    @Schema(description = "每日订单数，以逗号分隔，例如：260,210,215")
    var orderCountList: String? = null,

    @Schema(description = "每日有效订单数，以逗号分隔，例如：20,21,10")
    var validOrderCountList: String? = null,

    @Schema(description = "订单总数")
    var totalOrderCount: Int? = null,

    @Schema(description = "//有效订单数")
    var validOrderCount: Int? = null,
    @Schema(description = "订单完成率")
    var orderCompletionRate: Double? = null,
)
